package liudan.archetype.annotationtest;

/**
 * Description:
 * Email: liudan@ucfgroup.com
 * Title
 * Copyright: Copyright (c) 2017
 * User: liudan
 * Created on 2017/3/3 23:41
 */
public class InhreitedTest {
    public static void main(String[] args) {

        Class<Child> childClass = Child.class;

        if(childClass.isAnnotationPresent(MyInhreited.class)){
            System.out.println(childClass.getAnnotation(MyInhreited.class).hello());

        }
    }
}
